home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2000 #4
/
Amiga Plus CD - 2000 - No. 4.iso
/
Tools
/
Text
/
HTML
/
HTMLEXT
/
GUI
/
HTMLEXTPrefs
< prev
next >
Wrap
Text File
|
2000-04-19
|
7KB
|
228 lines
G4C
; $VER: HTMLEXTPrefs Rev.015 by Juan Manuel Wehrli 1999 - 2000
WINBIG -1 -1 400 280 "HTMLEXT Einstellungen"
WinType 11010000
WinBackground IMAGE BG 0
Winout "NIL:"
xOnLoad
lvuse HTMLEXT 101
EXTRACT %Screen CLEAN screen
Update #This 1 $screen
EXTRACT %Browser CLEAN browser
Update #This 2 $browser
EXTRACT %BrowserWin CLEAN browserwin
Update #This 12 $browserwin
EXTRACT %Editor CLEAN editor
Update #This 3 $editor
EXTRACT %EditorWin CLEAN editorwin
Update #This 13 $editorwin
EXTRACT %Mailer CLEAN mailer
Update #This 4 $mailer
EXTRACT %Winbg CLEAN bg
Update #This 5 $bg
EXTRACT %Tcp CLEAN tcp
Update #This 6 $tcp
EXTRACT %TcpIf CLEAN tcpif
Update #This 7 $tcpif
EXTRACT %Os CLEAN pos
if $pos = "35"
Update #This 8 "1"
SetVar os "35"
else
Update #This 8 "0"
SetVar os "31"
endif
EXTRACT %User CLEAN user
Update #This 9 $user
EXTRACT %ScreenOpt CLEAN screenopt
Update #This 11 $screenopt
EXTRACT %Admin CLEAN padmin
if $padmin = "1"
Update #This 10 "1"
SetVar admin "1"
else
Update #This 10 "0"
SetVar admin "0"
endif
EXTRACT %ScreenOpt CLEAN screenopt
Update #This 11 $screenopt
GuiOpen #This
xOnClose
GuiWindow HTMLEXT RESUME
GuiWindow menu.Sites RESUME
GuiWindow #This RESUME
Text 102 2 290 15 "(Vorgabe: HTMLEXT, andere Namen bitte nur eintragen, wenn diese auch" 80 NOBOX
GadFont xHelvetica.font 9 000
Text 102 10 290 15 "existieren! Die Optionen gelten nur bei HTMLEXT als Screen!" 60 NOBOX
GadFont xHelvetica.font 9 000
xTextIn 100 25 80 18 "PubScreen Name:" screen "" 155
GadID 1
GadFont "xHelvetica.font" "11" 000
GadHelp "Die Optionen sind nur gültig, wenn HTMLEXT als Screenname gewählt wird!"
xTextIn 245 25 125 18 "Optionen:" screenopt "" 155
GadID 11
GadFont "xHelvetica.font" "11" 000
GadHelp "Optionen sind: Entweder DEPTH wie 16, oder WIDTH/HEIGHT/DEPTH/HexMode"
xButton 372 25 18 18 "»"
GadFont "xHelvetica.font" "11" 000
CLI 'rx htmlext:mod/htmlext.smod GETSCRMODE'
Update #This 11 $.htmlext.tmp
xTextIn 100 45 272 18 "Win. Background:" bg "" 155
GadID 5
GadFont "xHelvetica.font" "11" 000
xButton 372 45 18 18 "»"
GadFont "xHelvetica.font" "11" 000
ReqFile -1 -1 250 500 "Bitte Fensterhintergrund wählen ..." FILE bg "HTMLEXT:gui/bg/"
Update #This 5 $bg
xTextIn 100 65 272 18 "Browser Plugin:" browser "" 155
GadID 2
GadFont "xHelvetica.font" "11" 000
xButton 372 65 18 18 "»"
GadFont "xHelvetica.font" "11" 000
ReqFile -1 -1 250 500 "Bitte Browser Plugin wählen ..." FILE browser "HTMLEXT:mod/Browser/"
Update #This 2 $browser
xTextIn 100 85 272 18 "Browser Win.:" browserwin "" 155
GadID 12
GadFont "xHelvetica.font" "11" 000
xButton 372 85 18 18 "»"
GadFont "xHelvetica.font" "11" 000
if $browser == "htmlext:mod/browser/aweb.mod"
cli 'rx htmlext:mod/htmlext.smod WINAWEB'
if $.htmlext.tmp != -
SetVar *BROWSERWIN $.htmlext.tmp
SetVar browserwin $.htmlext.tmp
Update #This 12 $.htmlext.tmp
endif
elseif $browser != "htmlext:mod/browser/aweb.mod"
EZREQ "Sorry, z.Zt. ist diese Option nur für AWeb 3.3 Benutzer!" "Weiter" NIL
endif
xTextIn 100 105 272 18 "Editor Plugin:" editor "" 155
GadID 3
GadFont "xHelvetica.font" "11" 000
xButton 372 105 18 18 "»"
GadFont "xHelvetica.font" "11" 000
ReqFile -1 -1 250 500 "Bitte Editor Plugin wählen ..." FILE editor "HTMLEXT:mod/Editor/"
Update #This 3 $editor
xTextIn 100 125 272 18 "Editor Win.:" editorwin "" 155
GadID 13
GadFont "xHelvetica.font" "11" 000
xButton 372 125 18 18 "»"
GadFont "xHelvetica.font" "11" 000
if $editor == "htmlext:mod/editor/golded.mod"
cli 'rx htmlext:mod/htmlext.smod WINGOLDED'
if $.htmlext.tmp != -
SetVar *EDITORWIN $.htmlext.tmp
SetVar editorwin $.htmlext.tmp
Update #This 13 $.htmlext.tmp
endif
elseif $browser != "htmlext:mod/editor/golded.mod"
EZREQ "Diese Option ist nur für GoldED Benutzer!" "Weiter" NIL
endif
xTextIn 100 145 272 18 "E-Mailer Plugin:" mailer "" 155
GadID 4
GadFont "xHelvetica.font" "11" 000
xButton 372 145 18 18 "»"
GadFont "xHelvetica.font" "11" 000
ReqFile -1 -1 250 500 "Bitte Editor Plugin wählen ..." FILE mailer "HTMLEXT:mod/Mailer/"
Update #This 4 $mailer
xTextIn 100 165 272 18 "TCP/IP Plugin:" tcp "" 155
GadID 6
GadFont "xHelvetica.font" "11" 000
xButton 372 165 18 18 "»"
GadFont "xHelvetica.font" "11" 000
ReqFile -1 -1 250 500 "Bitte Editor Plugin wählen ..." FILE tcp "HTMLEXT:mod/Network/"
Update #This 6 $tcp
xTextIn 100 185 100 18 "Interface Name:" tcpif "" 155
GadID 7
GadFont "xHelvetica.font" "11" 000
GadHelp "Interfacenamen muss angegeben werden, falls MiamiDX benutzt wird ..."
xTextIn 100 210 180 18 "Benutzer:" user "" 155
GadHelp "Bitte leer lassen, falls der MultiUser Modus aktiviert sein soll!"
GadID 9
GadFont "xHelvetica.font" "11" 000
xCheckbox 372 210 18 18 "AmigaOS 3.5+" os "35" "31" OFF
GadHelp "Anwählen, wenn Ihr Amiga mit AmigaOS 3.5 oder besser ausgerüstet ist ..."
GadID 8
GadFont "xHelvetica.font" "11" 000
xCheckbox 100 255 18 18 "Immer Admin M." admin "1" "0" OFF
GadHelp "Anwählen, wenn der Admin Modus immer aktiv sein soll ..."
GadID 10
GadFont "xHelvetica.font" "11" 000
SetVar *ADMIN $admin
xButton 185 255 100 20 "_1 Speichern"
GadFont "xHelvetica.font" "11" 000
GadKey "s"
lvuse HTMLEXT 101
lvdel -1
lvadd ''
%Screen = $screen
%ScreenOpt = $screenopt
%Browser = $browser
%BrowserWin = $browserwin
%Editor = $editor
%EditorWin = $editorwin
%Mailer = $mailer
%Winbg = $bg
%Tcp = $tcp
%TcpIf = $tcpif
%Os = $os
%Admin = $admin
%User = $user
lvsave "htmlext:Settings/htmlext.prefs"
EXTRACT screen CLEAN *SCREEN
EXTRACT browser CLEAN *BROWSER
EXTRACT browserwin CLEAN *BROWSERWIN
SetVar .htmlext.brwin $*BROWSERWIN
EXTRACT editor CLEAN *EDITOR
EXTRACT editorwin CLEAN *EDITORWIN
SetVar .htmlext.edwin $*EDITORWIN
EXTRACT mailer CLEAN *MAILER
EXTRACT viewer CLEAN *VIEWER
EXTRACT tcp CLEAN *TCP
EXTRACT tcpif CLEAN *TCPIF
EXTRACT os CLEAN *OS
EXTRACT screenopt CLEAN *SCREENOPT
GuiWindow HTMLEXT RESUME
GuiWindow #This RESUME
GuiQuit #This
xButton 290 255 100 20 "[_X] Abbrechen"
GadFont "xHelvetica.font" "11" 000
GadKey "x"
GuiWindow HTMLEXT RESUME
GuiWindow #This RESUME
GuiQuit #This